package com.zy.teacherSide.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zy.teacherSide.dao.TeacherEnclosureDao;
import com.zy.teacherSide.entity.TeacherEnclosure;
import com.zy.teacherSide.service.ITeacherEnclosureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 29787
 */
@Service
public class ITeacherEnclosureServiceImpl extends ServiceImpl<TeacherEnclosureDao, TeacherEnclosure> implements ITeacherEnclosureService {

    @Autowired
   private TeacherEnclosureDao teacherEnclosureDao;

    @Override
    public TeacherEnclosure getTeacherEnclosureById(Integer teacherId, Integer enclosureId) {
        return teacherEnclosureDao.getTeacherEnclosureById(teacherId, enclosureId);
    }
}
